package cc.linker.steplink.crm.merchant.dao;

import java.util.List;
import java.util.Map;

public interface PlatformDao {

    List<Map<String, Object>> getList();

    void addPlatform(Map<String, Object> map);

    void updatePlatform(Map<String, Object> map);

    void removePlatform(Long platFormId);

    Map<String, Object> getPlatformInfo(Long platFormId);

    List<Map<String, Object>> getBussinessList(Long platFormId);

    void saveBussiness(Map<String, Object> map);


    void removeBussiness(Map<String, Object> map);

    void removeBussinessRes(Map<String, Object> map);

    Map getInfoByName(Map param);
}
